//
//  SocketLogger.h
//  Socket.IO-Client
//
//  Created by alanwang.dev on 16/8/8.
//  Copyright © 2016年 com.alanwang.dev. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SocketLogger : NSObject
/// Whether to log or not
@property (nonatomic, assign) BOOL log;
/// Normal log messages
- (void)log:(NSString *)message type:(NSString *)type args:(id)args, ...;
/// Error Messages
- (void)error:(NSString *)message type:(NSString *)type args:(id)args, ...;

@end


@interface DefaultSocketLogger : NSObject
// 重写了get方法，懒加载
@property (nonatomic) SocketLogger *Logger;
@property (nonatomic, assign) BOOL log;
- (instancetype)defaultLogger;
@end
